package com.itheima.pepare;

public class TestStudent {
    public static void main(String[] args) {
        Student stu = new Student();//创建一个新的Student对象
        stu.age= 23;
        stu.name = "张三";
        System.out.println(stu.age);
        System.out.println(stu.name);
        System.out.println(stu);
        stu.study();

    }
}
